package com.sunyard.dal.bo.device.lock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: ZhangShuai
 * @description: 编辑锁请求类
 * @create: 2022-07-05 17:31
 **/
@ApiModel
@Data
public class LockEditorBO implements Serializable {
    private static final long serialVersionUID = -251296116011050302L;

    /**
     * 锁名称
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 锁名称
     */
    @ApiModelProperty(value = "锁名称")
    private String lockName;

    /**
     * 机构ID
     */
    @ApiModelProperty(value = "机构ID")
    private String orgId;

    /**
     * 锁种类 1主管锁 2柜员锁 3柜员通锁
     */
    @ApiModelProperty(value = "锁种类 1主管锁 2柜员锁 3柜员通锁 ")
    private String lockType;

    /**
     * 锁场景
     */
    @ApiModelProperty(value = "锁场景")
    private String missionType;

    /**
     * 日志翻转 1不翻转 2翻转
     */
    @NotBlank(message = "日志翻转不能为空")
    @ApiModelProperty(value = "日志翻转 1不翻转 2翻转")
    private String reversion;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 锁识别号
     */
    @ApiModelProperty(value = "锁识别号")
    private String lockSn;

    /**
     * 柜员id
     */
    @ApiModelProperty(value = "柜员id 锁种类选择2柜员锁时必填")
    private String employeeId;

    /**
     * 复核状态 0待复核 1已复核(0异步，1同步)
     */
    @ApiModelProperty(value = "审核状态,2待复核 1已复核(2异步，1同步")
    private String isCheck;
}
